home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
TCGRAPH.LZH
/
GLOBAL.H
< prev
next >
Wrap
Text File
|
1987-06-10
|
948b
|
29 lines
/*--------------------------------------------------------------------------
* global.h
*
* Copyright 1987 by Michael Allen
*
* This contains the declarations for global variables used by the
* graphics functions in graph.lib. You must include this in your
* main module with a: #include "global.h". Then in sub-modules, include:
* #include "glob_ext.h"
*-------------------------------------------------------------------------*/
union REGS regs;
struct SREGS segregs;
T_SCREEN screen = (unsigned char far *)SCREENADDR; /* color card screen buffer */
int xmax = 639,
xmin = 0,
ymax = 199, /* the size of the screen in pixels */
ymin = 0;
BYTE draw_option; /* NORMAL, XOR_MODE */
/* ----------------------------------------------------------------- */